package com.aspose.cells;

class zwz extends zck {
   private float k = 0.0F;
   private float l = 0.0F;

   zwz(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
   }

   void b() {
      this.k = 0.074F * this.e.v().h();
      this.l = 0.092F * this.e.v().i();
      com.aspose.cells.b.a.b.a.zf var1 = this.a.e();
      this.a.a(4);
      com.aspose.cells.b.a.b.zq var2 = new com.aspose.cells.b.a.b.zq(this.g, this.h + 2.0F * this.l, this.e.v().h() - 2.0F * this.k, this.e.v().i() - 2.0F * this.l);
      com.aspose.cells.b.a.b.zm var3 = zbum.a(this.e.x());
      com.aspose.cells.b.a.b.a.ze var4 = new com.aspose.cells.b.a.b.a.ze();
      var4.b(var2);
      com.aspose.cells.b.a.b.zc var5 = zbum.a(this.e.w(), var4);
      com.aspose.cells.b.a.b.a.ze var6;
      com.aspose.cells.b.a.b.zo[] var7;
      com.aspose.cells.b.a.b.zo var8;
      com.aspose.cells.b.a.b.zo var9;
      com.aspose.cells.b.a.b.a.ze var10;
      com.aspose.cells.b.a.b.zo[] var11;
      com.aspose.cells.b.a.b.a.ze var12;
      com.aspose.cells.b.a.b.zo[] var13;
      if (!this.e.w().a()) {
         var6 = new com.aspose.cells.b.a.b.a.ze();
         var7 = new com.aspose.cells.b.a.b.zo[]{new com.aspose.cells.b.a.b.zo(var2.f(), var2.g()), new com.aspose.cells.b.a.b.zo(var2.f() + var2.h(), var2.g()), new com.aspose.cells.b.a.b.zo(var2.f() + var2.h(), var2.g() + 0.8F * var2.i()), new com.aspose.cells.b.a.b.zo(var2.f(), var2.g() + 0.93F * var2.i())};
         var8 = new com.aspose.cells.b.a.b.zo(var2.f() + var2.h() / 2.0F, var2.g() + var2.i() * 1.13F);
         var9 = new com.aspose.cells.b.a.b.zo(var2.f() + var2.h() / 2.0F, var2.g() + 0.8F * var2.i());
         var6.a(var7[0], var7[1]);
         var6.a(var7[1], var7[2]);
         var6.a(var7[2], var9, var8, var7[3]);
         var6.a(var7[3], var7[0]);
         var6.i();
         this.a.a(var5, var6);
         var10 = new com.aspose.cells.b.a.b.a.ze();
         var11 = new com.aspose.cells.b.a.b.zo[]{new com.aspose.cells.b.a.b.zo(this.g + this.k, this.h + 2.0F * this.l), new com.aspose.cells.b.a.b.zo(this.g + this.k, this.h + this.l), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - this.k, this.h + this.l), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - this.k, this.h + this.l + 0.66F * this.e.r()), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - 2.0F * this.k, this.h + this.l + 0.66F * this.e.r()), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - 2.0F * this.k, this.h + 2.0F * this.l)};
         var10.b(var11);
         this.a.a(var5, var10);
         var12 = new com.aspose.cells.b.a.b.a.ze();
         var13 = new com.aspose.cells.b.a.b.zo[]{new com.aspose.cells.b.a.b.zo(this.g + 2.0F * this.k, this.h + this.l), new com.aspose.cells.b.a.b.zo(this.g + 2.0F * this.k, this.h), new com.aspose.cells.b.a.b.zo(this.g + this.e.q(), this.h), new com.aspose.cells.b.a.b.zo(this.g + this.e.q(), this.h + 0.66F * this.e.r()), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - this.k, this.h + 0.66F * this.e.r()), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - this.k, this.h + this.l)};
         var12.b(var13);
         this.a.a(var5, var12);
      }

      if (!this.e.x().a()) {
         var6 = new com.aspose.cells.b.a.b.a.ze();
         var7 = new com.aspose.cells.b.a.b.zo[]{new com.aspose.cells.b.a.b.zo(var2.f(), var2.g()), new com.aspose.cells.b.a.b.zo(var2.f() + var2.h(), var2.g()), new com.aspose.cells.b.a.b.zo(var2.f() + var2.h(), var2.g() + 0.8F * var2.i()), new com.aspose.cells.b.a.b.zo(var2.f(), var2.g() + 0.93F * var2.i())};
         var8 = new com.aspose.cells.b.a.b.zo(var2.f() + var2.h() / 2.0F, var2.g() + var2.i() * 1.13F);
         var9 = new com.aspose.cells.b.a.b.zo(var2.f() + var2.h() / 2.0F, var2.g() + 0.8F * var2.i());
         var6.a(var7[0], var7[1]);
         var6.a(var7[1], var7[2]);
         var6.a(var7[2], var9, var8, var7[3]);
         var6.a(var7[3], var7[0]);
         var6.i();
         this.a.a(var3, var6);
         var10 = new com.aspose.cells.b.a.b.a.ze();
         var11 = new com.aspose.cells.b.a.b.zo[]{new com.aspose.cells.b.a.b.zo(this.g + this.k, this.h + 2.0F * this.l), new com.aspose.cells.b.a.b.zo(this.g + this.k, this.h + this.l), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - this.k, this.h + this.l), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - this.k, this.h + this.l + 0.66F * this.e.r()), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - 2.0F * this.k, this.h + this.l + 0.66F * this.e.r()), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - 2.0F * this.k, this.h + 2.0F * this.l)};
         var10.b(var11);
         this.a.a(var3, var10);
         var12 = new com.aspose.cells.b.a.b.a.ze();
         var13 = new com.aspose.cells.b.a.b.zo[]{new com.aspose.cells.b.a.b.zo(this.g + 2.0F * this.k, this.h + this.l), new com.aspose.cells.b.a.b.zo(this.g + 2.0F * this.k, this.h), new com.aspose.cells.b.a.b.zo(this.g + this.e.q(), this.h), new com.aspose.cells.b.a.b.zo(this.g + this.e.q(), this.h + 0.66F * this.e.r()), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - this.k, this.h + 0.66F * this.e.r()), new com.aspose.cells.b.a.b.zo(this.g + this.e.q() - this.k, this.h + this.l)};
         var12.b(var13);
         this.a.a(var3, var12);
      }

      this.a();
      this.a.a(var1);
   }

   void c(com.aspose.cells.b.a.b.zq var1) {
      var1 = this.d(var1);
      super.c(var1);
   }

   private com.aspose.cells.b.a.b.zq d(com.aspose.cells.b.a.b.zq var1) {
      float var2 = var1.f();
      float var3 = var1.g() + 2.0F * this.l;
      com.aspose.cells.b.a.b.zq var4 = new com.aspose.cells.b.a.b.zq(var2, var3, var1.h() - 2.0F * this.k, var1.i() * 0.9F - 2.0F * this.l);
      return var4;
   }
}
